/*
 * Copyright (c) 2025 Alliedstar
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _BLE__H
#define _BLE__H

#define SERVICE_UUID_VAL BT_UUID_128_ENCODE(0x6e40, 0xb5a3, 0xf393, 0xe0a9, 0xe50e24dcca9e)
#define TX_CHAR_UUID_VAL BT_UUID_128_ENCODE(0x6e41, 0xb5a3, 0xf393, 0xe0a9, 0xe50e24dcca9e)
#define RX_CHAR_UUID_VAL BT_UUID_128_ENCODE(0x6e42, 0xb5a3, 0xf393, 0xe0a9, 0xe50e24dcca9e)

#define BT_UUID_CUSTOM_SERVICE BT_UUID_DECLARE_128(SERVICE_UUID_VAL)
#define BT_UUID_CUSTOM_TX      BT_UUID_DECLARE_128(TX_CHAR_UUID_VAL)
#define BT_UUID_CUSTOM_RX      BT_UUID_DECLARE_128(RX_CHAR_UUID_VAL)

void thread_ble(void *p1, void *p2, void *p3);

#endif